package com.mrjy.payment.dao;

import java.util.List;

import com.mrjy.common.entity.VipPackageInfo;
import com.mrjy.payment.dto.VipPackageInfoDTO;
/**
 * 
 * @author csshui
 *
 */
public interface IVipPackageInfoDao {
		
		int insert(VipPackageInfo info);
		
		VipPackageInfo queryById(int id);
		
		int updateById(VipPackageInfo info);
			
		//根据ID删除
		int deleteByIds(int[] ids);
			
		//根据ID禁用、起用
		int updateDisableFlag(VipPackageInfo info);

		List<VipPackageInfo> queryListForBack(VipPackageInfo info);
		
		List<VipPackageInfoDTO> queryList(VipPackageInfo vipPackageInfo);
		
		int queryCountForBack();
		
}
